package singleton;

public class SingletonObjectDemo {

    public static void main(String[] args) {

        SingletonObject obj1 = SingletonFactory.INSTANCE.getInstance();
        SingletonObject obj2 = SingletonFactory.INSTANCE.getInstance();

        System.out.println(obj1 == obj2);
    }
}
